package com.shenzhenai.module_principles.demo5;

/**
 * @author huangzehui
 * @date 2025/8/18 13:27 周一
 * @description 经济人类
 */
public class Agent {

    private Star star;

    private Fans fans;

    private Company company;

    public void setStar(Star star) {
        this.star = star;
    }

    public void setFans(Fans fans) {
        this.fans = fans;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    // 和粉丝见面的方法
    public void meting() {
        System.out.println(star.getName() + "和粉丝" + fans.getName() + "见面");
    }


    // 和媒体公司洽谈的方法
    public void business() {
        System.out.println(star.getName() + "和" + company.getName() + "洽谈");
    }

}
